package com.yanqu.road.entity.activity.dafuweng;

import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.atomic.AtomicInteger;

public class DFWCrossData {

    private int activityId;

    /**
     * boss数据（类型，ID，数据）
     */
    private Map<Integer, Map<Integer, DFWBossData>> bossDataMap = new ConcurrentHashMap<>();

    /**
     * 最大BossId
     */
    private AtomicInteger nextBossId;

    /**
     * 商会情报（商会UID，记录）
     */
    private Map<String, List<DFWUnionNews>> unionNewsMap = new ConcurrentHashMap<>();

    public int getNextBossId() {
        return nextBossId.getAndIncrement();
    }

    public void setNextBossId(AtomicInteger nextBossId) {
        this.nextBossId = nextBossId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public Map<String, List<DFWUnionNews>> getUnionNewsMap() {
        return unionNewsMap;
    }

    public void setUnionNewsMap(Map<String, List<DFWUnionNews>> unionNewsMap) {
        this.unionNewsMap = unionNewsMap;
    }

    public Map<Integer, Map<Integer, DFWBossData>> getBossDataMap() {
        return bossDataMap;
    }

    public void setBossDataMap(Map<Integer, Map<Integer, DFWBossData>> bossDataMap) {
        this.bossDataMap = bossDataMap;
    }
}
